package map.back.managerment.Controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @program: managerment
 * @description: get viewer of sql
 * @author: Mr.Jiang
 * @create: 2020-12-01 23:03
 **/

//@Api(value="Data Controller",tags={"数据库操作"})
@RestController
//@RequestMapping("DB")
public class testCtrl {

//    @Autowired
//    myservice serv;

    @RequestMapping("hello")
    public String test(){
        return "hello";
    }

//    @RequestMapping("/myapitest")
//    @ApiOperation("测试")
//    public List<Map> myapitest(@RequestParam("id") int id){
//        return serv.test(id);
//    }
//
//    @RequestMapping("/myapitest1")
//    @ApiOperation("测试")
//    public List<Map> myapitest1(@RequestParam("id") int id){
//        return null;
//    }
}
